using System;
using System.Collections.Generic;
using System.Text;

namespace DDW
{
	public class EventNode : MemberNode
	{
		private BlockStatement addBlock = new BlockStatement();
		public BlockStatement AddBlock
		{
			get { return addBlock; }
			set { addBlock = value; }
		}
		private BlockStatement removeBlock = new BlockStatement();
		public BlockStatement RemoveBlock
		{
			get { return removeBlock; }
			set { removeBlock = value; }
		}

        public override void ToSource(StringBuilder sb)
        {
            // todo: eventnode to source

			if (attributes != null)
			{
				attributes.ToSource(sb);
				this.NewLine(sb);
			}
        }
	}
}
